vsync_timing : process (vclk) is
begin
	if nrst = ‚äò0‚äô then
		vcount <= 0;
	else
		if vcount>15700 and vcount <15764 then
			vsync <= ‚äò0‚äô;
		else
			vsync <= ‚äò1‚äô;
		end if;
		if vcount > 16784 then
			vcount <= 0;
		else
			vcount <= vcount + 1;
		end if;
	end if;
end process;